#pragma once
#include "afxwin.h"
#include "afxcmn.h"
#include "icmp.h"


// CPropPagePing dialog

class CPropPagePing : public CPropertyPage
{
	DECLARE_DYNAMIC(CPropPagePing)

public:
	CPropPagePing();
	virtual ~CPropPagePing();

// Dialog Data
	enum { IDD = IDD_DIALOG_PING };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnInitDialog();

	DECLARE_MESSAGE_MAP()

	CEdit m_oEditHostname;
	CListCtrl m_oListResults;
	CIcmp m_oIcmp;

	afx_msg void OnBnClickedButtonPing();
	afx_msg void OnBnClickedButtonTraceroute();
	LONG OnPingResult(WPARAM wParam, LPARAM lParam);
	LONG OnTraceRouteResult(WPARAM wParam, LPARAM lParam);
};
